package com.weight.system.project.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 项目附件信息表
 */
@Data
public class FileInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "附件id")
	@JSONField(name = "fileId")
	private String fileId; //附件id

	@Excel(name = "附件名称")
	@NotBlank(message = "附件名称不能为空")
	@JSONField(name = "fileName")
	private String fileName; //附件名称

	@Excel(name = "附件路径")
	@NotBlank(message = "附件路径不能为空")
	@JSONField(name = "filePath")
	private String filePath; //附件路径

	@Excel(name = "附件描述") 
	@JSONField(name = "fileDesc")
	private String fileDesc; //附件描述

	@Excel(name = "附件类型")
	@NotBlank(message = "附件类型不能为空")
	@JSONField(name = "fileType")
	private String fileType; //附件类型

	@Excel(name = "附件大小") 
	@JSONField(name = "fileSize")
	private String fileSize; //附件大小

	@Excel(name = "排序") 
	@JSONField(name = "fileSort")
	private Integer fileSort; //排序

	@Excel(name = "类别编号") 
	@JSONField(name = "typeCode")
	private String typeCode; //类别编号

	private String ralId;
	public  FileInfoVO(){
		super();
	}

	public  FileInfoVO(String fileId,String fileName,String filePath,String fileDesc,String fileType,String fileSize,Integer fileSort,String typeCode){
		super();
		this.fileId = fileId;
		this.fileName = fileName;
		this.filePath = filePath;
		this.fileDesc = fileDesc;
		this.fileType = fileType;
		this.fileSize = fileSize;
		this.fileSort = fileSort;
		this.typeCode = typeCode;
	}

}